package com.paypal.android.a.a;

import com.paypal.android.a.o;
import org.w3c.dom.Element;
import org.w3c.dom.NodeList;

public final class f
{
  public a a;
  public a b;
  private String c;

  public static f a(Element paramElement)
  {
    if (paramElement == null)
      return null;
    f localf = new f();
    NodeList localNodeList1 = paramElement.getElementsByTagName("from");
    if (localNodeList1.getLength() == 1)
      localf.a = a.a((Element)localNodeList1.item(0));
    NodeList localNodeList2 = paramElement.getElementsByTagName("to");
    if (localNodeList2.getLength() == 1)
      localf.b = a.a((Element)localNodeList2.item(0));
    NodeList localNodeList3 = paramElement.getElementsByTagName("exchangeRate");
    if (localNodeList3.getLength() != 1)
      return null;
    localf.c = o.a(((Element)localNodeList3.item(0)).getChildNodes());
    return localf;
  }

  public final String a()
  {
    return this.c;
  }
}

/* Location:           D:\Studium\Bachelorarbeit\BA Marcus Wobig\BA\BA\Decompiler\PicturePassword APK\Programm\PicturePassword_dex2jar.jar
 * Qualified Name:     com.paypal.android.a.a.f
 * JD-Core Version:    0.6.2
 */